package com.zbb.exam_system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zbb.exam_system.entity.Paper;

import java.util.List;

/**
 * @author zbbstart
 * @date 2021/2/12 - 13:02
 */
public interface PaperMapper extends BaseMapper<Paper> {
    /**
     * 获取老师生成的试卷
     * @param teacherNo 老师编号
     * @return 已生成的试卷
     */
    List<Paper> getPaperByTeacherNo(Integer teacherNo);
}
